/*格式化cookie，主要给后台验证登录*/
function cookieFormatting(cookie){
    var text = "";
    for(var i in cookie){
        text += i +"=" +cookie[i] + ";"
    }
    return text;
}

module.exports = cookieFormatting;
